import { getRequest,postRequest } from '/@/lib/axios';

// 定义 param 的类型
interface RequestParams {
    [key: string]: any;
}
interface HMIParams {
    [key: string]: any;
}
export const rollingSimulationApi = {
    // 轧制能力仿真列表请求数据
    rest: (param:RequestParams) => {
        return getRequest('/api/restapi', param);
    },
    // 轧制能力仿真列表请求数据
    HMI: (param:HMIParams) => {
        return postRequest('/mapi/HMI', param);
    },
};
